KERNELDIR := /home/zcx/linuxarm/mylinux
CURRENT_PATH := $(shell pwd)
obj-m := electric_engine_device_1.o
obj-m += electric_engine_device_2.o
#obj-m += steering_engine_device.o

build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean